PeerRaiser\Controller\Api\Donation_Rest_Controller S

Total Complexity 21
Dependencies 7
Dependents 0
Total lines 363
Lines of code 218
Logical lines of code 83
Comment lines 104
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
get_item_schema()
S
42 1 66
get_item()
S
47 3 33
create_item()
S
54 2 20
update_item()
S
56 2 17
delete_item()
S
63 3 10
register_routes()
S
54 1 23
prepare_item_for_response()
S
57 1 19
get_items()
S
65 2 9
get_items_permissions_check()
S
82 1 3
get_item_permissions_check()
S
82 1 3
create_item_permissions_check()
S
82 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
prepare_item_for_database()
S
70 1 6